package clone;

public class Main {

    public static void main(String[] args) throws CloneNotSupportedException {
        Person person = new Person("one", 1);
        Employee employee = new Employee("two", 2, 2);
        Person anotherPerson = person.clone();
        Employee anotherEmployee = employee.clone();

        System.out.println("person: " + person);
        System.out.println("employee: " + employee);
        System.out.println("anotherPerson: " + anotherPerson);
        System.out.println("anotherEmployee: " + anotherEmployee);
    }
}
